LGF_MergeBitsToWord (FC / 3.0.1)

Overview

Author: Siemens Digital Industry

Short description

This function merge 16 Bits / 16 Boolean variables into one Word variable.

Block Interface

LGF_MergeBitsToWord (FC)
Bool  bit15 Ret_Val  Word
    
Bool  bit14   
    
Bool  bit13   
    
Bool  bit12   
    
Bool  bit11   
    
Bool  bit10   
    
Bool  bit9   
    
Bool  bit8   
    
Bool  bit7   
    
Bool  bit6   
    
Bool  bit5   
    
Bool  bit4   
    
Bool  bit3   
    
Bool  bit2   
    
Bool  bit1   
    
Bool  bit0   
    
   

Input parameter

IdentifierData type Description
bit15Bool Input Bit 15 - MSB
bit14Bool Input Bit 14
bit13Bool Input Bit 13
bit12Bool Input Bit 12
bit11Bool Input Bit 11
bit10Bool Input Bit 10
bit9Bool Input Bit 9
bit8Bool Input Bit 8
bit7Bool Input Bit 7
bit6Bool Input Bit 6
bit5Bool Input Bit 5
bit4Bool Input Bit 4
bit3Bool Input Bit 3
bit2Bool Input Bit 2
bit1Bool Input Bit 1
bit0Bool Input Bit 0 - LSB

Output parameter

IdentifierData type Description
Ret_ValWord Composite Bit sequence stored as Word variable

Change log

Version & DateChange description
1.0.0Siemens Industry Online Support
09.02.2017First released version
1.0.1Siemens Industry Online Support
17.08.2018Upgrade: TIA V15 Update 2
1.0.2Siemens Industry Online Support
23.11.2018Upgrade: TIA V15.1
1.0.3Simatic Systems Support
26.07.2019Standard header, style guide
1.0.4Simatic Systems Support
30.07.2019add ENO handling
3.0.0Simatic Systems Support
23.04.2020Set version to V3.0.0
harmonize the version of the whole library
3.0.1Simatic Systems Support
22.02.2021Insert documentation